<!DOCTYPE html>
<html>
<head>
	<title>MUKEFILE共享空间</title>
	<meta charset="utf-8">
	<!--为了保证IE能够使用最新渲染模式而不是兼容模式-->
  	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link href="/lib/img/favicon.png" rel="shortcut icon" />
  	<link rel="stylesheet" href="/zui/css/muke.css">
	<!-- ZUI CSS 文件 -->
	<link rel="stylesheet" href="/zui/css/zui.min.css">
	<!-- ZUI Javascript 依赖 jQuery -->
	<script src="/zui/libs/jquery/jquery.js"></script>
	<!-- ZUI JavaScript 文件 -->
	<script src="/zui/js/zui.min.js"></script>
	<style type="text/css">
		.file-list{width:1200px;margin:0px;height:440px;background: #d0e0f1}
		.main-middle-right-content{width:1000px;height:564px;}
		.main-middle-right-top2{
			padding:20px 80px 30px 80px;
			margin-bottom: 30px;
		}
		.main-middle-right-content{
			padding:20px 80px 60px 80px;
		}
		body{background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);}
	</style>
</head>
<body>
	<div class="main">
		<div class="main-middle">
			<div class="main-middle-right-top2">
				<span><a href="shareFile!fileSharing"><i>共享文件列表</i></a></span>
			</div>
			<div class="main-middle-right-content">
				<div class="file-list">
					<div class="table-not-scroll">
					<table class="table">
					  <thead>
					    <tr>
					      <th width="500">文件名</th>
					      <th width="200">文件大小</th>
					      <th width="180">上传时间</th>
					      <th width="120">上传人</th>
						  <th width="100">下载</th>
					    </tr>
					  </thead>
					 </table>
					 </div>
					 <div class="table-scroll" style="height:400px;">

						<table class="table">
						 <tbody>
						 <#list list as shareFile>
							<tr>
								<td width="500">${shareFile.fileName!}</td>
								<td width="200">
									<#if shareFile.fileSize lt 1024>
										${shareFile.fileSize!}B
									<#elseif shareFile.fileSize lt 1024*1024>
										${(shareFile.fileSize/1024)?string('0.0')!}KB
									<#elseif shareFile.fileSize lt 1024*1024*1024>
										${(shareFile.fileSize/1024/1024)?string('0.0')!}MB
									</#if>
								</td>
								<td width="180">${(shareFile.uploadTime)?string('yyyy-MM-dd')!}</td>
								<td width="120">${shareFile.uploadName!}</td>
								<td width="100">
									<form action="shareFile!download" method="post">
									 <input type="hidden" name="filename" value="${shareFile.fileName!}"/>
									 <input type="submit" value="download"
											style="border: 0px;width: 100px;height:100%"/>
									</form>
								</td>
							</tr>
						 </#list>
						 </tbody>
						</table>

					</div>
				</div>
			</div>
			<div class="bottom">
				<div class="bottom-info"> Copyright © 2020 mukefile. All Rights Reserved.
					(使用google,firefox浏览器访问效果最佳)</div>
			</div>
		</div>
	</div>
</body>
</html>